package com.frame.easy.modular.sample.controller;

import com.frame.easy.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 文件上传
 *
 * @author TengChong
 * @date 2020-05-26
 */
@Controller
@RequestMapping("/sample/file/upload")
public class SampleFileUploadController extends BaseController {

    /**
     * view 路径
     */
    private final String PREFIX = "modular/sample/file/upload/";

    /**
     * view
     *
     * @return view
     */
    @RequestMapping("view")
    public String select() {
        logger.debug("/sample/file/upload/view");
        return PREFIX + "view";
    }
}
